﻿<Window x:Class="SharePoint.Security.ConfigAnalyzer.Client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:SharePoint.Security.ConfigAnalyzer.Client.ViewModels"
        Height="800" Width="1025"
         xmlns:dg="http://schemas.microsoft.com/wpf/2008/toolkit"

        >

    <Window.Resources>
        <Style x:Key="GroupHeaderStyle" TargetType="{x:Type GroupItem}" >
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type GroupItem}" >
                        <StackPanel>
                            <TextBlock Text="{Binding Group}" />
                            <ItemsPresenter />
                        </StackPanel>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>

    <Grid Background="#C5C5C5">
        <Grid.RowDefinitions>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition Height="18"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="4.5*"></RowDefinition>
        </Grid.RowDefinitions>

        <Grid Background="#60A917" Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="200" />

            </Grid.ColumnDefinitions>
            <StackPanel Orientation="Horizontal" Grid.Column="0">
                <TextBlock Padding="10" Text="SharePoint Security Configuration Analyzer" FontSize="20" Foreground="White" ></TextBlock>
                <TextBlock Padding="4,10,10,10" Margin="-5,-10,0,0" Text="Basic" FontSize="12" Foreground="White" Grid.Column="0" VerticalAlignment="Center" />
            </StackPanel>
                
            <!--<Button Height="30" Width="100" Margin="10" HorizontalAlignment="Right" FontSize="14"  
                    Content="Info" 
                    Foreground="Black"  Name="BtnInfo" Click="BtnInfo_Click" 
                    Grid.Column="1" >
            
            </Button>-->

        </Grid>

        <StackPanel Background="DimGray" Name="ProgressPanel" Orientation="Horizontal" Grid.Row="1">
            <ProgressBar Name="MainProgress" IsIndeterminate="true" Visibility="Visible" Height="15" Width="200" Margin="10,0,0,0"/>
            <TextBlock Padding="10,2,0,0" Text="Collecting SharePoint configuration information. Please wait ..." FontSize="12" Foreground="White"></TextBlock>
        </StackPanel>
        
        <Expander Grid.Row="2" x:Name="panel1" Header="System Informatiom" Foreground="Black" Visibility="Collapsed"  
                  FontFamily="Segoe UI" FontSize="16" Padding="10,10,0,0" >
            <ContentControl Name="SummaryContentControl" />
        </Expander>
        <ContentControl Name="RulesContentControl" Grid.Row="3"/>

    </Grid>
</Window>
